package com.mdd.admin.validate;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mdd.common.entity.ClientCrmProjetDetailType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 项目基本信息参数
 * @author LikeAdmin
 */
@Data
@ApiModel("项目基本信息更新参数")
public class ClientCrmProjetDetailUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "编号")
    private Integer id;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "申报条件")
    private List<ClientCrmProjetDetailType> declarationConditions;
//    private List<String> declarationConditions;

    @ApiModelProperty(value = "项目关键要素")
    private String projectKey;

    @ApiModelProperty(value = "核心要素")
    private String keyElement;



    @ApiModelProperty(value = "三星条数")
    private Integer ratingThree;
    @ApiModelProperty(value = "四星条数")
    private Integer ratingFour;
    @ApiModelProperty(value = "五星条数")
    private Integer ratingFive;

    @ApiModelProperty(value = "受理部门")
    private String acceptanceDepartment;

    @ApiModelProperty(value = "申报时间")
    private String[] declarationTime;
//    private List<String> declarationTime;

    @ApiModelProperty(value = "申报开始时间")
    private String declarationStart;
    @ApiModelProperty(value = "申报结束时间")
    private String declarationEnd;
    @ApiModelProperty(value = "资助额度")
    private Float amountSubsidy;

}
